WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway S

Total Complexity 39
Dependencies 13
Dependents 20
Total lines 406
Lines of code 182
Logical lines of code 79
Comment lines 147
Methods 14
Properties 11

Methods 14

Method Rating Maintainability Complexity Lines of code
__construct()
A
42 8 53
capture_authorized_payment()
S
53 4 25
init_form_fields()
S
55 4 19
define_method_title()
S
62 4 12
define_method_description()
S
59 3 18
is_paypal_tab()
S
73 3 5
render_authorization_message_for_status()
S
62 2 12
is_credit_card_tab()
S
76 2 4
is_webhooks_tab()
S
76 2 4
process_refund()
S
67 2 7
update_option()
S
65 2 9
needs_setup()
S
81 1 3
generate_ppcp_html()
S
69 1 7
get_transaction_url()
S
75 1 4